package com.example.fireassistant_server.mapper;


import com.example.fireassistant_server.dto.hydrant.FireHydrantAddRequest;
import com.example.fireassistant_server.dto.hydrant.FireHydrantDto;
import com.example.fireassistant_server.dto.hydrant.FireHydrantUpdateRequest;
import com.example.fireassistant_server.dto.user.UserCreateRequest;
import com.example.fireassistant_server.dto.user.UserUpdateRequest;
import com.example.fireassistant_server.entity.FireHydrant;
import com.example.fireassistant_server.entity.User;
import com.example.fireassistant_server.vo.FireHydrantVo;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;

@Mapper(componentModel = "spring")
public interface FireHydrantMapper {
    FireHydrantDto toDto(FireHydrant fireHydrant);

    FireHydrantVo toVo(FireHydrantDto fireHydrantDto);

    FireHydrant createEntity(FireHydrantAddRequest fireHydrantAddRequest);

    FireHydrant updateEntity(@MappingTarget FireHydrant fireHydrant, FireHydrantUpdateRequest fireHydrantUpdateRequest);

}
